<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	    <link href="../../plugins/mui/mui.min.css" rel="stylesheet" />
	    <link href="../../css/style.css" rel="stylesheet"/>
	    <link rel="stylesheet" href="../../css/news_list/tea_company.css" />
	    <script src="../../js/statistics.js"></script>
	</head>
		
	<body>
		<header class="mui-bar mui-bar-nav header">
		    <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
		    <h1 class="mui-title" id='title'>
		    	 茶企风采
		    </h1>
		</header>
		<div class="body">
			
		</div>
		<script src="../../plugins/jquery/jquery-3.1.0.min.js" type="text/javascript" ></script>
		<script src="../../plugins/template/template.js"></script>
		<script src="../../plugins/mui/mui.min.js"></script>
		<script src="../../js/getApiToken.js"></script>
		<script src="../../js/md5.js"></script>
		<script type="text/javascript">
			mui.init();
			
			mui.plusReady(function(){
				var id = plus.webview.currentWebview().detail_id;
				console.log(id)
				var wait = plus.nativeUI.showWaiting('正在加载中...');
				myAjax('home/tea_company/getCompanyDetail','get',{'id':id},function(data){
					if(data.success){
						var company =  '<h2>'+data.title+'</h2>'+
								'<p style="overflow:auto;">'+
									'<span class="left">'+data.time+'</span>'+
								'</p>'+
								'<div class="news">'+data.content+'</div>';
						$('.body').append(company);
						wait.close();
					}
					
					
				})
			});
		</script>
	</body>
</html>